package com.alibaba.ai.service.impl;

import com.alibaba.ai.dao.ColumbiaMapper;
import com.alibaba.ai.service.ColumbiaService;
import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ColumbiaServiceImpl implements ColumbiaService {
    @Resource
    private ColumbiaMapper columbiaMapper;
    @Override
    public String getColumbia(String fPictureName,String eXareaName,String cPrice,Integer acreage) {
        return JSON.toJSONString(columbiaMapper.getColumbia(fPictureName,eXareaName,cPrice,acreage));
    }
}
